package com.mycompany.myproject.bean;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class Car {

	private int id;
	private String brandCode ;
	private String brandName ;

	private String appName;

	@Autowired
	private Tyre type;

	@Autowired
	private Wheel whee;

	private ClassLoader classLoader;
	private BeanFactory beanFactory;
	private String name;

	public Car(){
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getBrandCode() {
		return brandCode;
	}

	public void setBrandCode(String brandCode) {
		this.brandCode = brandCode;
	}

	public String getBrandName() {
		return brandName;
	}

	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	public String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}

	public Tyre getType() {
		return type;
	}

	public void setType(Tyre type) {
		this.type = type;
	}

	public Wheel getWhee() {
		return whee;
	}

	public void setWhee(Wheel whee) {
		this.whee = whee;
	}
}
